|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.interactions.core.configurations.MetaDataItemConfiguration
public class MetaDataItemConfiguration
A single meta-data item configuration.
| Field Summary | |
|---|---|
static int |
TYPE_EXPRESSION
A variable value derived from an expression. |
static int |
TYPE_STATIC
A static variable value. |
static int |
TYPE_VARIABLE
A variable value derived from another variable. |
| Fields inherited from interface org.eclipse.vtp.framework.interactions.core.configurations.InteractionsConstants |
|---|
NAME_CHOICE, NAME_CHOICES, NAME_CONTENT_TYPE, NAME_DATA_NAME, NAME_DATA_REQUEST, NAME_FORMATTER, NAME_ID, NAME_INPUT, NAME_INPUT_ITEM, NAME_INPUT_NAME, NAME_INPUT_REQUEST, NAME_INTERACTION_TYPE, NAME_KEY, NAME_LANGUAGE, NAME_LOCALE, NAME_MEDIA, NAME_MEDIA_PROVIDER, NAME_MEDIA_PROVIDER_BINDING, NAME_META_DATA, NAME_META_DATA_ITEM, NAME_META_DATA_SET, NAME_NAME, NAME_OUTPUT, NAME_OUTPUT_ITEM, NAME_OUTPUT_MESSAGE, NAME_OUTPUT_NAME, NAME_PROPERTY, NAME_PROPERTY_ITEM, NAME_RESOURCE_MANAGER, NAME_SCRIPT, NAME_SCRIPTING_LANGUGAGE, NAME_SELECTION_REQUEST, NAME_SHARED_CONTENT, NAME_TRANSFER_MESSAGE, NAME_TYPE, NAME_VALUE, NAMESPACE_URI |
| Constructor Summary | |
|---|---|
MetaDataItemConfiguration()
Creates a new MetaDataItemConfiguration. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the target variable. |
java.lang.String |
getScriptingLanguage()
Returns the scripting language the expression is in. |
java.lang.String |
getValue()
Returns the variable value. |
int |
getValueType()
Returns the type of the variable value. |
void |
load(org.w3c.dom.Element configurationElement)
Loads the configuration information from the specified XML element. |
void |
save(org.w3c.dom.Element configurationElement)
Saves the configuration information into the supplied XML element. |
void |
setExpressionValue(java.lang.String expression,
java.lang.String scriptingLanguage)
Sets the value of the target variable as the result of an expression. |
void |
setName(java.lang.String name)
Sets the name of the target variable. |
void |
setStaticValue(java.lang.String value)
Sets the value of the target variable as a static value. |
void |
setVariableValue(java.lang.String variableName)
Sets the value of the target variable as an existing variable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_STATIC
public static final int TYPE_EXPRESSION
public static final int TYPE_VARIABLE
| Constructor Detail |
|---|
public MetaDataItemConfiguration()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the target variable.public int getValueType()
public java.lang.String getValue()
public java.lang.String getScriptingLanguage()
public void setStaticValue(java.lang.String value)
value - The value of the target variable.
public void setExpressionValue(java.lang.String expression,
java.lang.String scriptingLanguage)
expression - The expression to evaluate.scriptingLanguage - The scripting language the expression is in.public void setVariableValue(java.lang.String variableName)
variableName - The name of the variable to set as the target variable.public void load(org.w3c.dom.Element configurationElement)
IConfiguration
load in interface IConfigurationconfigurationElement - The element to load the configuration from.public void save(org.w3c.dom.Element configurationElement)
IConfiguration
save in interface IConfigurationconfigurationElement - The element to save the configuration to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||